package com.ruoyi.tmsdriveracc.mapper;

import com.ruoyi.tmsdriveracc.domain.AError;
import com.ruoyi.tmsdriveracc.domain.DriverCheck;
import com.ruoyi.tmsdriveracc.domain.Receipt;
import com.ruoyi.tmsdriveracc.domain.Waybill;

import java.util.List;

/**
 * @ClassName: DriverCheckMapper
 * @Description: TODO
 * @Author 小何
 * @Date 2022/4/20 17:21
 * @version: 1.0
 */
public interface DriverCheckMapper {
    List<DriverCheck> selectDcList(DriverCheck driverCheck);

    int insertReceipt(Receipt receipt);

    int updateDriverCheck(Receipt receipt);
    int updateDriverCheck1(AError aError);
    //通过合同拿到发货人和收货人手机号
    Waybill selectPhoneByContractId(Long waybillId);
    DriverCheck queryById(Integer id);
}
